<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:s="http://java.sun.com/jsp/jstl/core"
	xmlns:rich="http://richfaces.org/rich">

<ui:composition template="/template.xhtml">
	<ui:define name="title">Success login</ui:define>
	<ui:define name="content">
		<div id="head" align="center">
			<h:outputText value="#{label.welcome}" style="font-size: 30px;" />
			<hr></hr>
		</div>
		<h:form id="SuccesLogForm">
			<body>
				<f:view>
					<center>
						<h:panelGrid width="380" columns="2" border="0">
							<rich:panel header="Login Successful"
								style="background-color: #ebf3fd;">
								<center>
									<h:outputText value="#{sessionScope.username}"
										style="font-size:15px;font-weight:bold" />
								</center>
							</rich:panel>
						</h:panelGrid>
					</center>
				</f:view>
			</body>
		</h:form>
	</ui:define>
</ui:composition>
</html>